const px2rem = require('postcss-px2rem')
const loaders = [
   
{
  loader: require.resolve('postcss-loader'),
    options: {
      ident: 'postcss',
        plugins: () => [
          require('postcss-flexbugs-fixes'),
          require('postcss-preset-env')({
            autoprefixer: {
              flexbox: 'no-2009'
            },
            stage: 3
          }),
          px2rem({ remUnit: 75 }),  //  添加的代码
          postcssNormalize()
        ],
          sourceMap: isEnvProduction && shouldUseSourceMap
    }
},

]